<?php
include_once('../Framework/Base.entity.php');

/*******
This File is generated
********/

class Master extends Base{
                    
    public $masterId;
    public $uniqueString;
                
    function __construct()
    {

    }
    
    public function escape($grid)
    {
        $this->uniqueString = $grid->Escape($this->uniqueString);
    }
    
    public function validate()
    {
         if($this->masterId == "") // Generated
         {
            $this->AddError("masterId is required.");
         }
         if($this->uniqueString == "") // Generated
         {
            $this->AddError("uniqueString is required.");
         }
        //ADDITIONAL VALIDATION RULES GO BELOW HERE
    }
}
?>